Skip to content

Conversation

@cirras
Copy link
Collaborator

@cirras cirras commented Mar 14, 2025

This PR adds several compiler directives that the analyzer previously didn't recognize:

  • E (undocumented, Turbo Pascal)
  • F (undocumented, Turbo Pascal)
  • K (undocumented, Delphi 2)
  • N (undocumented, Turbo Pascal)
  • S (undocumented, Turbo Pascal)
  • ALLOWBIND
  • ALLOWISOLATION
  • HIGHENTROPYVA
  • HIGHCHARUNICODE
  • LARGEADDRESSAWARE
  • MAXPAGESIZE
  • NXCOMPAT
  • SONAME (undocumented, Kylix?)
  • SOPREFIX (undocumented, Kylix?)
  • SOSUFFIX (undocumented, Kylix?)
  • SOVERSION (undocumented, Kylix?)
  • STACKCHECKS (undocumented, Turbo Pascal)
  • STRINGCHECKS (undocumented, Delphi 2009)
  • TSAWARE
  • TYPEDADDRESS

Fixes #345.

@cirras cirras requested a review from fourls March 14, 2025 05:33
@cirras cirras changed the title Missing compiler directives Add support for missing compiler directives Mar 14, 2025
@cirras cirras force-pushed the missing_compiler_directives branch 2 times, most recently from dbdc5e2 to 2f070fa Compare March 24, 2025 06:07
fourls
fourls previously approved these changes Mar 27, 2025
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@cirras cirras force-pushed the missing_compiler_directives branch from 2f070fa to 3fb8d10 Compare March 27, 2025 06:09
@cirras cirras requested a review from fourls March 27, 2025 06:09
@cirras cirras merged commit 6a2da83 into master Mar 28, 2025
4 checks passed
@cirras cirras deleted the missing_compiler_directives branch March 28, 2025 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undocumented switch directive causes scan to fail

3 participants